package es.ikex.beans;

import es.ikex.modelo.ModelFacade;
import es.ikex.modelo.Cliente;

import java.io.Serializable;
import java.util.Collection;

public class ListaClientesBean implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String clausulaWhere = new String();

	public ListaClientesBean(){
		super();
	}
	
	public String getClausulaWhere() {
		return clausulaWhere;
	}

	public void setClausulaWhere(String clausulaWhere) {
		this.clausulaWhere = clausulaWhere;
	}
	
	public Collection<Cliente> getCliente(){
		
		Collection<Cliente> clientes = ModelFacade.getCliente(clausulaWhere);
		
		return clientes;
	}

}
